import {defineStore} from 'pinia'

export const useTokenStore = defineStore('token', {
    state: () => {
        return {
            count: 0,
        }
    },
    getters: {
        doubleCount: state => state.count * 2
    },
    actions: {
        increment() {
            this.count++
        }
    },
})
